.TH lis_array_matvec_ns 3 "3 Dec 2014" "Man Page" "Lis Library Functions"

.SH NAME

lis_array_matvec_ns \- calculate the matrix vector product

.SH SYNOPSIS

#include "lis.h"

\fBLIS_INT lis_array_matvec_ns\fR(\fBLIS_INT m\fR, \fBLIS_INT n\fR, \fBLIS_SCALAR a[]\fR, \fBLIS_INT lda\fR, \fBLIS_SCALAR x[]\fR, \fBLIS_SCALAR y[]\fR);

.SH DESCRIPTION

Calculate the matrix-vector product \fIAx\fR, where matrix \fIA\fR is not square.

.SH INPUT

.IP "\fBm, n\fR"
The size of the matrix and vectors

.IP "\fBa\fR"
The array that stores matrix \fIA\fR of size \fIm * n\fR

.IP "\fBx\fR"
The array that stores vector \fIx\fR of size \fIn\fR

.IP "\fBy\fR"
The array that stores vector \fIy\fR of size \fIm\fR

.IP "\fBop\fR"
.RS
.IP "\fBLIS_INS_VALUE\fR"
\fIy\fR = \fIAx\fR
.IP "\fBLIS_SUB_VALUE\fR"
\fIy\fR = \fIy - Ax\fR

.SH OUTPUT

.IP "\fBy\fR"
\fIy\fR

.SH EXIT STATUS

The following exit values are returned:
.IP "0"
The process is normally terminated
.IP "unspecified"
An error occurred

.SH SEE ALSO

.BR lis (3)
.PP
http://www.ssisc.org/lis/

